﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WisDomCharts
{
    
    /// <summary>
    /// Copyright (c) 2013-2017 河南恒茂创远科技股份有限公司
    /// 创建人：郭雪峰
    /// 日 期：2018.2.11
    /// 描 述：图表类型 
    /// </summary>
    public class ChartsType
    {
        /// <summary>
        /// 线性图
        /// </summary>
        public const string line = "line";
        /// <summary>
        /// 柱状图
        /// </summary>
        public const string bar = "bar";
        /// <summary>
        /// 饼状图
        /// </summary>
        public const string pie = "pie";
        /// <summary>
        /// 雷达图
        /// </summary>
        public const string radar = "radar";

        /// <summary>
        /// 获取图表类型
        /// </summary>
        /// <returns></returns>
        public Dictionary<string,string> GetChartsType()
        {
            Dictionary<string, string> dict = new Dictionary<string, string>();
            dict.Add(line, "线性图");
            dict.Add(bar, "柱状图");
            dict.Add(pie, "饼状图");
            dict.Add(radar, "雷达图");
            return dict;
        }

    }
}
